MBC5:


Specs, the MBC5 memory sizes in short :

   - ROM upto 64MBit (8MByte) divided into 512 banks, each 16kByte.
   - RAM upto 1MBit (128kByte) divided into 16 banks, each 8kByte
 

    Memory map for the MBC5/CPLD

 MBC5 memory bank switching is obtained by writing the high order adress mask for the
 memory space in question into latches memorymapped into the normal ROM adresses space
 as given in the following list.

 -----------------------------------------------------------------------------------------    0x5000
 RAM Bank Register (RAMB)
 Switchable RAM bank select (4 AA bits)
 XXXX BBBB
 -----------------------------------------------------------------------------------------    0x4000
 Upper ROM Bank Register (ROMB1)
 Switchable ROM bank high select (9th RA bit)
 XXXX XXXH
 -----------------------------------------------------------------------------------------    0x3000
 Lower ROM Bank Register (ROMB0)
 Switchable ROM bank low select (First 8 RA bits)
 LLLL LLLL
 -----------------------------------------------------------------------------------------    0x2000
 External Extended Memory Register (RAMG)
 (This is ram enable on original MBC5 with 0x0A) 